import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

/** 订单统计列表 */
export const orderStatisticsListApi = generateRequest(
  `${apiUrlPrefix}/pcs/companionOrder/nursingWork/getNursingWorkersOrderPageList`,
)

/** 获取护工服务订单列表 */
export const orderListByNursingWorkersIdApi = generateRequest(
  `${apiUrlPrefix}/pcs/companionOrder/nursingWork/getOrderListByNursingWorkersId`,
)

/** 订单统计明细列表 */
export const orderStatisticsDetailPageListApi = generateRequest(
  `${apiUrlPrefix}/pcs/companionOrder/nursingWork/getNursingWorkersOrderDetailPageList`,
)
